package com.gjintel.business.professerinfo.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @description 专家表
 * @author lpshen 
 * @date 2016-8-17
 */
@Entity
@Table(name = "T_PROJ_PROFESSER_INFO")
@SuppressWarnings("serial")
public class Professer implements Serializable {
	private String id;
	private String proj_id;//项目id
	private String name;//专家名称
	private String title;//职称
	private String tel;//电话
	private String dept_name;//单位

	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "PROJ_ID", insertable = true, updatable = true)
	public String getProj_id() {
		return proj_id;
	}

	public void setProj_id(String proj_id) {
		this.proj_id = proj_id;
	}

	@Column(name = "NAME", insertable = true, updatable = true)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "TITLE", insertable = true, updatable = true)
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "TEL", insertable = true, updatable = true)
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "DEPT_NAME", insertable = true, updatable = true)
	public String getDept_name() {
		return dept_name;
	}

	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}

}
